package com.diandian.backend.kuaishou.life.exchange.client;

import com.diandian.backend.kuaishou.life.exchange.client.dto.StoreKuaishouLifeStoreInfoDetailByCodeParam;
import com.diandian.base.boot.starter.response.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("diandian-store")
//@FeignClient(value = "business-diandian-store", url = "http://localhost:8083", path = "")
public interface DianDianStoreClient {

    /**
     * 根据线上门店编码或线下门店编码查询门店信息
     */
    @PostMapping("/kuaishou/life/store/info/detail/code")
    BaseResult getDetailByCode(@RequestBody StoreKuaishouLifeStoreInfoDetailByCodeParam param);

}
